package org.zavgame.rest;

/**
 * This class uses to make REST response on the client.
 * It converts to JSON response.
 * 
 * @author alexey
 *
 */
public class Game
{

   private final String username;

   private final int balanceVersion;

   private final int balanceAfterChange;

   private final int randomCoinSide;

   public Game(String username, int balanceVersion, int balanceAfterChange, int randomCoinSide)
   {
      this.username = username;
      this.balanceVersion = balanceVersion;
      this.balanceAfterChange = balanceAfterChange;
      this.randomCoinSide = randomCoinSide;
   }

   public String getUsername()
   {
      return username;
   }

   public int getBalanceVersion()
   {
      return balanceVersion;
   }

   public int getBalanceAfterChange()
   {
      return balanceAfterChange;
   }

   public int getRandomCoinSide()
   {
      return randomCoinSide;
   }

}
